package com.zxc.project.base;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
* @author zxc_user
* @date 2021/3/4 23:15
* @version 1.0
* @description 通用的分页对象
**/
@Data
public class BasePage<T, P> {

    @NotNull(message = "page不能为null")
    private Page<T> page;

    private P param;
}
